#ifndef __CONFIG_H__
#define __CONFIG_H__

extern const char *auth;
extern const char *ssid;
extern const char *password;
extern unsigned char needOTA;
extern const char *aPSsid;
extern const char *aPPassword;

#define RELAY 2
#define KEY 0

#define V_REF 1.218
#define RL_CURRENT 1    // 单位为毫欧
#define R2_VOLTAGE 1950 // 390K*5,单位为K欧
#define R1_VOLTAGE 0.51 // 0.51K,单位为K欧

// 继电器状态：0-关，1-开，默认是开
extern unsigned int relayState;

#endif